//
//  CountdownButton.h
//  EnglishTalk
//
//  Created by DING FENG on 8/16/14.
//  Copyright (c) 2014 ishowtalk. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SRCountdoenButtonDelegate <NSObject>

@optional
- (void)updateDone;

- (void)cdBtnUpdateTime:(NSInteger)time;

@end

@interface SRCountdownButton : UIButton

@property  (nonatomic,strong) UILabel  *timelabel;
@property  (nonatomic,strong) NSTimer  *timer;
@property  (weak, nonatomic) id<SRCountdoenButtonDelegate> delegate;

-(void)resetTheState;

-(void)updateLabel;
- (void)touchesBegan;
@end
